package com.sskj.api.vo.srs;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "概览")
@Data
public class Summaries {

    @Schema(description = "服务名称")
    @JsonProperty("server")
    private String serverName;

    @Schema(description = "采集时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nowTime;

    // 服务状态
    @Schema(description = "服务状态信息")
    private SummariesSelfInfo summariesSelfInfo;

    // 系统信息
    @Schema(description = "系统信息")
    private SummariesSystemInfo summariesSystemInfo;
}
